# 创建线程

from dotenv import load_dotenv
from openai import OpenAI

load_dotenv()
client = OpenAI()

thread = client.beta.threads.create()

print(thread)    # 线程id 是 thread_2FvZwOUge1KnBbz1cvtllQcF
